package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.vo.ParamDuty.ParamDutyListVO;
import com.hzeport.bgs22emduty.vo.ParamDuty.ParamDutySaveVO;
import com.hzeport.bgs22emduty.vo.base.PageVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;
import com.hzeport.bgs22emduty.entity.ParamDuty;

import java.util.List;

/**
 * 参数表-值班配置表：
此表中存储，各部门值班的参数配置
 *
 * @author code generator
 * @date 2022-12-02 11:21:59
 */
public interface ParamDutyService extends BaseService<ParamDuty> {

    BaseResult<Page<ParamDutyListVO>> list(PageVO pageVO,UserInfoDetailVO userInfoDetailVO);

    BaseResult delete(String id, UserInfoDetailVO userInfoDetailVO) throws Exception;

    BaseResult<ParamDutyListVO> detail(String id);

    BaseResult saveData(ParamDutySaveVO paramDutySaveVO, UserInfoDetailVO userInfoDetailVO) throws Exception;

    BaseResult<List<ParamDuty>> listTime(String id);

    BaseResult< String> ifRemove( String id );
}
